{template header}
<form class="form-horizontal" action="index.php?c=admin&a=gearSetAction" method="post">
  <div class="control-group">
    <label class="control-label" for="inputTiltle">名称：</label>
    <div class="controls">
      <input type="text" name='name' placeholder="请输入名称" value="{$info['name']}">
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputTiltle">装备ID：</label>
    <div class="controls">
      <textarea name="gears" rows="12" style="width:600px;" placeholder="请输入装备ID，并用*分隔">{$info['gears']}</textarea><br>
      <span>请用 * 将装备ID分隔</span>
    </div>
  </div>
  {if $action == ''}
  <div class="control-group">
    <label class="control-label" for="inputTiltle">链接：</label>
    <div class="controls">
      <input type="text" name='url' disabled="disabled"  value="{$info['url']}">
    </div>
  </div>
  {/if}
  <div class="control-group">
    <div class="controls">
        <input type="hidden" name="tid" value="{$info['tid']}">
        <input type="hidden" name="action" value="{$action}">
        <button type="submit" class="btn">提交</button>
    </div>
  </div>
</form>
{template footer}